

cmake_minimum_required(VERSION 3.10)
project(imu_gps_standalone)

add_compile_options(-std=c++17)

find_package(Eigen3  REQUIRED)


include_directories(
  ${EIGEN3_INCLUDE_DIR}
  ${PROJECT_SOURCE_DIR}/src
  ${PROJECT_SOURCE_DIR}
  #third_party/GeographicLib/include
  thirdparty/sophus/
  thirdparty/
)

add_executable(main src/main.cc src/static_imu_init.cc src/utm_convert.cc
        ./common/io_utils.cc
        ./thirdparty/utm_convert/utm.cc
        ./thirdparty/utm_convert/tranmerc.cc
        )
target_link_libraries(main
        glog gflags 
        )

add_executable(test test/test.cc
        )
target_link_libraries(test
        glog gflags 
        )


add_executable(comparison test/gps_jacobian_comparison.cc
        )
target_link_libraries(comparison
        glog gflags 
        )

add_executable(comparison_new test/gps_jacobian_comparison_new.cc
        )
target_link_libraries(comparison_new
        glog gflags 
        )